package com.newbingo.service.imple;

import java.util.List;

import com.newbingo.entity.Agent;
import com.newbingo.entity.BetSetting;
import com.newbingo.util.Pager;

public interface IAgentService {

	public abstract void save(Agent transientInstance);

	public abstract void delete(Agent transientInstance);

	public abstract Agent merge(Agent transientInstance);

	public abstract List findAll();

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByExample(Agent instance);

	public abstract Agent findById(java.lang.Integer id);

	public abstract Agent findByParentId(java.lang.Integer parentId);

	public abstract List findByName(Object name);

	public abstract List findByStatus(Object status);

	public abstract void attachDirty(Agent transientInstance);

	public abstract Pager findByPage(int start, int limit);

	public abstract void mergeSetting(BetSetting set);

	public abstract Pager findBetSetting(Integer agentId, Integer gamePlayId);

	// public abstract BetSettingDto getBetSettingDtoObjectById(Integer
	// agentId,Integer gamePlayId,Integer cellId);

	public abstract Pager findSubAgents(int start, int limit, Integer agentId,
			Integer agentType);

}
